﻿
@if (LineOfBusiness.Core.Helper.CacheHelper.LoginUser.MetroStyle)
{
<div class="metroTitle" id="metroTitle" style="margin:5px">
    <div style="float:left">
        <img id="@ViewBag.FunctionID" src="~/Content/default/images/MetroBack.png" style="cursor:pointer;margin-top:4px;margin-right:5px;width:32px;height:32px"/>
    </div>
    <div class="ApplicationTitle" style="margin-top:4px;float:left;color:blue">
    @ViewBag.Title.ToUpper()
    </div>
</div>
}
<script type="text/javascript">
    $(document).ready(function ()
    {
        $("#@ViewBag.FunctionID").click(function ()
        {
            history.go(-1);
        });
    });
</script>